<?php

namespace IDock\Insurance\JDAL\Request;

use IDock\Insurance\JDAL\Response\AuthorizationTokenResponse;
use IDock\Visitor\VehicleModelVisitor;

class AuthorizationTokenRequest extends AllJDALRequest
{
    public $method = 'GET';

    public $route = 'getToken';

    public $appId;

    protected $response = AuthorizationTokenResponse::class;

    protected $urlTip = '登录接口';

    /*** @var  VehicleModelVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        return [
            'key' => $this->appId,
        ];

    }
}
